﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Day0320_练习_Game
{
    class Boss
    {
        public int HP { get; set; }
        public float Boss_Attack_Power { get; set; }
        public float Boss_FangYuLi { get; set; }

        public Boss(int hp, float attackPower, float fangYuLi)
        {
            HP = hp;
            Boss_Attack_Power = attackPower;
            Boss_FangYuLi = fangYuLi;
        }

        public void Boss_Attack(Hero hero)
        {
            hero.HP -= 30;
            Console.WriteLine("当前英雄的HP = " + hero.HP);
            Console.WriteLine("老怪攻击");
        }
    }
}
